home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 February / Macworld (1999-02).dmg / Games World / SharewareGames / Xconq 7.2.2 / lib / time.g < prev    next >
Text File  |  1998-05-22  |  32KB  |  1,041 lines

  1. (game-module "time"
  2.   (title "Time: Combat Through The Ages")
  3.   (blurb "Ancient Greece, but not for long")
  4.   (instructions (
  5.     "Each city type represents an era."
  6.     "One of your cities should always build the more modern city,"
  7.     "while your other cities build units for expansion and conquest."
  8.     "When the new city is completed, all your other cities should upgrade."
  9.   ))
  10.   (variants
  11.     (world-seen false)
  12.     (see-all false)
  13.     (world-size (60 30 360))
  14.     ("Mostly Land" mostly-land
  15.       (true
  16.         ;; Adjust so that sea is 20% instead of 50% of the world.
  17.         (add sea alt-percentile-max 20)
  18.         (add shallows alt-percentile-min 20)
  19.         (add shallows alt-percentile-max 21)
  20.         (add swamp alt-percentile-min 21)
  21.         (add swamp alt-percentile-max 23)
  22.         (add (desert plains forest) alt-percentile-min 21)
  23.         ))
  24.     ("All Land" all-land
  25.       (true
  26. ;; Adjust sea and shallows out of existence, let swamp take all the low spots.
  27.         (add sea alt-percentile-min 0)
  28.         (add sea alt-percentile-max 0)
  29.         (add shallows alt-percentile-min 0)
  30.         (add shallows alt-percentile-max 0)
  31.         (add swamp alt-percentile-min 0)
  32.         (add swamp alt-percentile-max 2)
  33.         (add swamp wet-percentile-min 0)
  34.         (add swamp wet-percentile-max 100)
  35.         (add (desert plains forest) alt-percentile-min 2)
  36.         ;; Counterproductive to try to set up near water.
  37.         (add sea country-terrain-min 0)
  38.         ))
  39.     (slow-progress false
  40.       (true
  41.     (add (M N * @ & U F) tech-max 30)
  42.     (add (M N * @ & U F) tech-to-build 30) 
  43.     ))
  44.     )
  45. )
  46.  
  47. (imf "blimp" ((16 16)
  48.   (mono "0000/0000/0000/0000/0000/03fc/8ffe/dfff/ffff/ffff/8ffe/01e0/0000/0000/0000/0000")
  49.   (mask "0000/0000/0000/0000/07fe/dfff/ffff/ffff/ffff/ffff/ffff/dfff/03e0/0000/0000/0000")))
  50. (imf "ogre-2" ((16 16)
  51.   (mono "0000/0000/0000/0000/0000/1010/0e24/1ff9/2fbe/3eee/7fff/aaaa/f7df/7bf7/3dfe/0000")
  52.   (mask "0000/0000/0000/0000/0000/1f7e/3fff/7fff/7fff/ffff/ffff/ffff/ffff/ffff/ffff/7fff")))
  53. (imf "mech-2" ((16 16)
  54.   (mono "0000/0000/0180/07e0/0180/1ff8/1a58/27e4/366c/33cc/23c4/0180/0240/0240/0c30/0c30")
  55.   (mask "0000/03c0/07e0/0ff0/1ff8/3ffc/3ffc/7ffe/7ffe/7ffe/7ffe/07e0/07e0/0ff0/1e78/1e78")))
  56.  
  57. (unit-type x (name "phalanx") (char "x")
  58.   (help "men with spears")
  59.   (notes "fights, captures cities, explores")
  60. )
  61. (unit-type g (name "galley") (char "g")
  62.   (help "carries ground units")
  63.   (notes "carries phalanxes, knights, longbowmen")
  64. )
  65. (unit-type k (name "knight") (char "k")
  66.   (help "men with swords and armour")
  67.   (notes "good to capture cities")
  68. )
  69. (unit-type l (name "longbowman") (char "l")
  70.   (help "men with bows")
  71.   (notes "good to fight ground units")
  72. )
  73. (unit-type s (name "boat") (char "s")
  74.   (help "carries more stuff than a galley")
  75.   (notes "carries ground units except armor and battledroids")
  76. )
  77. (unit-type y (name "cannon") (char "y")
  78.   (help "kills infantry")
  79. )
  80. (unit-type c (name "cavalry") (char "c")
  81.   (help "fast, kills cannon")
  82. )
  83. (unit-type i (name "infantry") (char "i")
  84.   (help "men with guns")
  85. )
  86. (unit-type d (name "dirigible") (char "d")
  87.   (help "good for reconassiance")
  88. )
  89. (unit-type B (name "battleship") (char "B")
  90.   (help "hard to kill, good at killing")
  91. )
  92. (unit-type t (name "transport") (char "t")
  93.   (help "easy to kill- but carries alot")
  94.   (notes "carries ground units except battledroids")
  95. )
  96. (unit-type C (name "carrier") (char "C")
  97.   (help "takes airplanes where they need to go")
  98. )
  99. (unit-type f (name "fighter") (char "f")
  100.   (help "kills bombers & does light bombing itself")
  101. )
  102. (unit-type a (name "armor") (char "a")
  103.   (help "men in tanks")
  104. )
  105. (unit-type h (name "helicopter") (char "h")
  106.   (help "carries infantry, good ground support")
  107. )
  108. (unit-type b (name "bomber") (char "b")
  109.   (help "long range aircraft with nuclear bombs")
  110. )
  111. (unit-type z (name "flying saucer") (char "z")
  112.   (help "men in metallic clothing")
  113.   (notes "carries battledroids")
  114. )
  115. (unit-type q (name "battledroid") (char "q")
  116.   (help "self-motivated weapon")
  117.   (notes (
  118.   "The battledroid is a heavily armed robot whose sophisticated programming"
  119.   "allows it to kill all armed opponents without harming civilians."
  120.   "Battledroids refuse to attack phalanxes, due to a software bug."))
  121. )
  122. (unit-type X (name "TraXor") (char "X")
  123.   (help "the ultimate war machine")
  124.   (notes (
  125.   "Not much is known about the TraXor."
  126.   "We are reasonably certain it emanates rainbow colored beams"
  127.   "and can reduce vast areas to ruin."))
  128. )
  129. (unit-type W (name "fort") (char "W")
  130.   (help "useful as a canal & is defensible")
  131. )
  132. (unit-type / (name "base") (char "/")
  133.   (help "a port and airstrip")
  134. )
  135. (unit-type A (name "Polis") (char "A")
  136.   (help "can build phalanxes, galleys or it can ungrade")
  137. )
  138. (unit-type M (name "Castle") (char "M")
  139.   (help "a step above ancients- hard to capture")
  140. )
  141. (unit-type N (name "City") (char "N")
  142.   (help "a Napoleonic Era city- makes units with guns")
  143. )
  144. (unit-type * (name "Metropolis") (char "*")
  145.   (help "a WWI era city.  Battleships are killer.")
  146. )
  147. (unit-type @ (name "Modern City") (char "@")
  148.   (help "a WWII city- an air power era")
  149. )
  150. (unit-type & (name "Post-Modern City") (char "&")
  151.   (help "a WWIII city- Nuke 'em!")
  152. )
  153. (unit-type U (name "Habitat") (char "U")
  154.   (help "The future has arrived")
  155. )
  156. (unit-type F (name "Flying City") (char "F")
  157.   (help "Paradise on(?) Earth & a flying party")
  158. )
  159.  
  160. (add x image-name "hoplite")
  161. (add g image-name "bireme")
  162. (add k image-name "swordman")
  163. (add l image-name "archer")
  164. (add s image-name "twodecker")
  165. (add y image-name "cannon")
  166. (add c image-name "cavalry")
  167. (add i image-name "soldiers")
  168. (add d image-name "blimp")
  169. (add B image-name "ca")
  170. (add t image-name "ap")
  171. (add C image-name "cv")
  172. (add f image-name "fighter")
  173. (add a image-name "tank")
  174. (add h image-name "helicopter")
  175. (add b image-name "stealth-bomber-2")
  176. (add z image-name "saucer")
  177. (add q image-name "mech-2")
  178. (add X image-name "ogre-2")
  179. (add W image-name "walltown")
  180. (add / image-name "airbase")
  181. (add A image-name "parthenon")
  182. (add M image-name "castle")
  183. (add N image-name "town20")
  184. (add * image-name "city18")
  185. (add @ image-name "city19")
  186. (add & image-name "city20")
  187. (add U image-name "town22")
  188. (add F image-name "city30")
  189.  
  190. (material-type food (help "for thought?"))
  191. (material-type fuel (help "energy for a better tomorrow"))
  192. (material-type ammo (help "the general's munitions"))
  193. (material-type bombs (help "nuke 'em"))
  194.  
  195. (include "stdterr")
  196. ; more land, more forest
  197. ;                                sea sha swa des pla for mou ice
  198. (add cell-t* alt-percentile-min (  0  48  50  50  51  51  90  99))
  199. (add cell-t* alt-percentile-max ( 48  50  51  90  90  90  99 100))
  200. (add cell-t* wet-percentile-min (  0   0  20   0  20  70   0   0))
  201. (add cell-t* wet-percentile-max (100 100 100  20  70 100 100 100))
  202.  
  203. (table terrain-damaged-type
  204.   (plains desert 1)
  205.   (forest desert 1)
  206.   (ice mountains 1)
  207.  )
  208. (set edge-terrain ice)
  209.  
  210. ;DEFINITIONS
  211. ; F not in movment definitions.  Cleaner this way.
  212. ; Everything is in either movers or places.
  213.  
  214. (define cities (A M N * @ & U F))    ; just devlopers.
  215. (define bases (W /))    ; other places
  216. (define places (W / A M N * @ & U F))    ; things that host lots.
  217. (define makers (A M N * @ & U F))
  218. (define ground (x k l c y i a q))
  219. (define aircraft (d f h b z X))
  220. (define pitstops (/ N * @ & U F))    ; with gas
  221. (define ship (g s B t C))
  222. (define movers (x g k l s c y i d B t C f a h b z q X))
  223. (define water (sea shallows))
  224. (define land (plains forest desert mountains))
  225.  
  226. ;**************************************************************
  227. (define firstu A)    ; <-- CHANGING THIS LINE TO A DIFFERENT CITY
  228. ;********************** WILL CHANGE THE STARTING CITY IN THE WHOLE PROGRAM
  229. ;             Is that user-friendly or what?
  230. ;
  231. ;                       Well, you *might* want to change the period name too.
  232.  
  233.  
  234. ; (add u* point-value 1) ; better thus way?
  235. (add cities point-value (5 20 80 320 1280 5120 20480 32000))
  236.  
  237. ;STARTUP STUFF
  238. (add firstu start-with 4)
  239.  
  240. (table independent-density (firstu plains 180))
  241.  
  242. (table favored-terrain 
  243.   (u* t* 0)
  244.   (cities plains 100)
  245. )
  246. (table vanishes-on 
  247.    (u* t* false)
  248.    (places (sea shallows ice) true)
  249.    (F t* false)
  250.    (firstu (swamp desert mountains) true)
  251. )
  252. (set country-separation-min 21)
  253. (set country-separation-max 60)
  254. (set country-radius-min 5)
  255. ; (set country-radius-max 10)
  256. (add cities initial-seen-radius 2)
  257.  
  258. (add places already-seen 1)
  259. (add places see-always 1)
  260.  
  261. ;PRODUCTION and REPAIR
  262.  
  263. (add A cp 1)
  264. (add (M x g) cp (5 4 12))
  265. (add (N k l s) cp (5 4 4 12))
  266. (add (* s c y i) cp (5 7 6 6 8))
  267. (add (@ d B t) cp (5 8 12 10))
  268. (add (& C f a) cp (5 12 5 6))
  269. (add (U h b) cp (5 6 8))
  270. (add (F z q) cp (5 8 6))
  271. (add X cp 6)
  272. (add (W /) cp (8 10))
  273.  
  274. (table acp-to-create 
  275.   (A (M x g) 1)
  276.   (M (N g k l s) 1)
  277.   (N (* s c y i) 1)
  278.   (* (@ i d B t) 1)
  279.   (@ (& i B t C f a) 1)
  280.   (& (U t C f a h b) 1)
  281.   (U (F z q) 1)
  282.   (F (z q X) 4)
  283.   ((x k l) W 2)
  284.   ((c y i a) / (3 1 2 4))
  285. )
  286. (table acp-to-build 
  287.   (A (M x g) 1)
  288.   (M (N g k l s) 1)
  289.   (N (* s c y i) 1)
  290.   (* (@ i d B t) 1)
  291.   (@ (& i B t C f a) 1)
  292.   (& (U t C f a h b) 1)
  293.   (U (F z q) 1)
  294.   (F (z q X) 4)
  295.   ((x k l) W 2)
  296.   ((c y i a) / (3 1 2 4))
  297. )
  298. (table cp-per-build
  299.   (A (M x g) 1)
  300.   (M (N g k l s) 1)
  301.   (N (* s c y i) 1)
  302.   (* (@ i d B t) 1)
  303.   (@ (& i B t C f a) 1)
  304.   (& (U t C f a h b) 1)
  305.   (U (F z q) 1)
  306.   (F (z q X) 1)
  307.   ((x k l) W 2)
  308.   ((c y i a) / (3 1 2 4))
  309. )
  310.  
  311. (table cp-on-creation
  312.   (A (M x g) 1)
  313.   (M (N k l s) 1)
  314.   (M g 6)
  315.   (N (* c y i) 1)
  316.   (N s 4)
  317.   (* (@ d B t) 1)
  318.   (* i 3)
  319.   (@ (& C f a) 1)
  320.   (@ (i B t) (5 3 3))
  321.   (& (U h b) 1)
  322.   (& (t C f a) (3 4 2 3))
  323.   (U (F z q) 1)
  324.   (F X 1)
  325.   (F (z q) (5 3))
  326.   ((x k l) W (1 4 3))
  327.   ((c y i a) / (1 1 3 5))
  328. )
  329.  
  330. (table hp-to-garrison
  331.   (A M 4)
  332.   (M N 5)
  333.   (N * 6)
  334.   (* @ 7)
  335.   (@ & 8)
  336.   (& U 9)
  337.   (U F 10)
  338.   ((x k l) W 1)
  339.   ((c y i a) / (2 2 2 3))
  340. )
  341.  
  342. (table occupant-can-construct
  343.   (u* u* true)
  344. )
  345.  
  346. ; research
  347.  
  348. (add u* tech-per-turn-max 1)
  349.  
  350. (add (M N * @ & U F) tech-max 15)
  351. (add (M N * @ & U F) tech-to-build 15) 
  352.  
  353. (add l tech-max 1)
  354. (add l tech-to-build 1)
  355.  
  356. (add X tech-max 2)
  357. (add X tech-to-build 2)
  358.  
  359. (table tech-per-research
  360.   (A M 1.00)
  361.   (M (N l) 1.00)
  362.   (N * 1.00)
  363.   (* @ 1.00)
  364.   (@ & 1.00)
  365.   (& U 1.00)
  366.   (U F 1.00)
  367.   (F X 1.00)
  368. )
  369. (table acp-to-research 
  370.   (A M 1)
  371.   (M (N l) 1)
  372.   (N * 1)
  373.   (* @ 1)
  374.   (@ & 1)
  375.   (& U 1)
  376.   (U F 1)
  377.   (F X 1)
  378. )
  379.  
  380. (table auto-repair
  381. ; cities & bases repair older & contemporary units, not newer ones
  382.   (A (x g) 1.00)
  383.   (M (x g k l s) 1.00)
  384.   (N (x g k l s c y i) 1.00)
  385.   (* (x g k l s c y i d B t) 1.00)
  386.   (@ (x g k l s c y i d B t C f a) 1.00)
  387.   (& (x g k l s c y i d B t C f a h b) 1.00)
  388.   (U (x g k l s c y i d B t C f a h b z q) 1.00)
  389.   (F (x g k l s c y i d B t C f a h b z q X) 1.00)
  390.   (W (x g k l s W) 0.33)
  391.   (/ (x g k l s c y i d B t C f a h b /) 0.33)
  392.   (cities cities 0.33)
  393.   (i i 0.50)
  394.   (a a 0.50)
  395.   (q q 0.50)
  396.   (X X 1.00)
  397. )
  398.  
  399. (add cities hp-recovery 0.33)
  400. (add bases  hp-recovery 0.33)
  401.  
  402. ;RESOURCES
  403. (table productivity (u* t* 100))
  404. (table supply-on-completion
  405.   (u* m* 0)
  406. ;                   /  N   *   @   &  U F
  407.   (pitstops fuel (100 50 100 200 300 50 0))
  408.   (pitstops ammo ( 50 25  50  50  50 50 0))
  409.   ((& b U) bombs (25 0 50))
  410. )
  411. (table unit-storage-x
  412. ;                   /   N   *   @   &   U F
  413.   (pitstops fuel (200 100 200 400 600 100 0))
  414.   (pitstops ammo (100  50 100 100 100 100 0))
  415. ;               x g k l s c y  i  d   B   t   C  f  a  h  b z q X
  416.   (movers fuel (0 0 0 0 0 0 0 20 75 400 400 400 18 40 12 36 0 0 0))
  417.   (movers ammo (0 0 0 0 0 8 5  6  8  40  50  80  3 12  4  0 0 0 0))
  418.   ((& b U) bombs (50 1 100))
  419. )
  420. (table base-production
  421. ;                   /   N   *   @   &   U   F
  422.   (pitstops fuel ( 20  30  60  90 120 100 999))
  423.   (pitstops ammo ( 10   5  10  10  10 100 999))
  424.   ((& U F C /) bombs (1 50 100 3 3))
  425. )
  426.  
  427. ; ----------------------------------------
  428. ; (table productivity 
  429. ;   ((i a) t* 0)
  430. ;   ((i a) plains 100)
  431. ; )
  432. ; (table base-production
  433. ;   ((i a) forest 50)
  434. ;   ((i a) fuel 2)
  435. ; )
  436. ; ----------------------------------------
  437.  
  438. (table base-consumption ((a i d h f b) fuel (1 1 5 2 3 2)))
  439.  
  440. (table hp-per-starve ((a i d h f b) fuel 1.00))
  441.  
  442. (table in-length 
  443.   (u* m* 0)
  444.   (places m* -1)
  445. )
  446. (table out-length 
  447.   (u* m* 0)
  448.   (ground m* -1)
  449.   (ship m* 0)
  450.   (F m* 0)
  451. )
  452.  
  453. ;MOVEMENT
  454.  
  455. (add movers acp-per-turn 
  456. ;  x g k l s c y i d B t C f a h b  z q X
  457.   (2 3 2 2 3 3 1 2 5 5 5 5 9 4 4 6 12 8 9))
  458. (add movers acp-min 
  459. ;   x  g  k  l  s  c  y  i  d  B  t  C  f  a  h  b  z  q  X
  460.   (-1 -1 -1 -1 -1 -2 -2 -1 -1 -1 -1 -1  0 -3  0  0  0 -2  0))
  461. (add places acp-per-turn 1)
  462. (add bases acp-per-turn 0)
  463. (add F acp-per-turn 4)
  464.  
  465. (add places speed 0)
  466. (add movers speed 100)
  467. (add F speed 100)
  468.  
  469. (table mp-to-enter-terrain 
  470.   (u* t* 99)
  471.   (ground land 1)
  472.   (ground river 1)
  473.   (c river 2)
  474.   ((y a) river (2 5))
  475.   ((x i) swamp 2)
  476.   (c (mountains forest) 3)
  477.   (a (mountains forest) 2)
  478.   (aircraft t* 1)
  479.   (aircraft river 0)
  480.   (ship water 1)
  481.   ((B C) shallows 2)
  482.   (F t* 1)
  483.   (F river 0)
  484.   (X sea 2)
  485. )
  486. (table mp-to-traverse
  487.   (u* (river road) 99)
  488.   (ship river 2)
  489.   (ground road 1)
  490. )
  491.  
  492. (table consumption-per-move 
  493.   (aircraft fuel 1)
  494.   ((z X) fuel 0)
  495.   ((B t C) fuel 1)
  496.   (F m* 0)
  497. )
  498.  
  499. (table material-to-move ((i a B t C d f h b) fuel 1))
  500.  
  501. (table accident-hit-chance 
  502.    (u* t* 0)
  503.    ((x i) swamp (1000 500))
  504. )
  505. ;FIXME "has been overcome by malaria" (x i) accident-message
  506.  
  507. ;VOLUME STUFF
  508.  
  509. (table unit-size-as-occupant
  510.   (u* u* 9999)
  511.   (places places 200)
  512.   (ground u* 1)
  513.   ((i y c) u* 2)
  514.   (a u* 4)
  515.   (q u* 8)
  516.   (g u* 3)
  517.   ((s t) u* 6)
  518.   ((B C) u* 24)
  519.   (d u* 10)
  520.   ((f h) u* 5)
  521.   ((b z) u* 15)
  522.   (X u* 100)
  523. )
  524.  
  525. (table occupant-max 
  526.   (u* u* 0)
  527.   (g (x k l) 3)
  528.   (s (x k l c y i) 8)
  529.   (t (x k l c y i a) 8)
  530.   (h i 1)
  531.   (C (h f b z) 3)
  532.   (z q 2)
  533.   (bases u* 10)
  534.   (makers u* 20)
  535.   (U u* 10)
  536.   ((W A M N) aircraft 0)
  537.   ((/ * @ & U) X 0)
  538.   (F X 1)
  539.   (N d 1)
  540.   (ship ship 0)
  541.   (places places 0)
  542.   (A M 1)
  543.   (M N 1)
  544.   (N * 1)
  545.   (* @ 1)
  546.   (@ & 1)
  547.   (& U 1)
  548.   (U F 1)
  549. )
  550.  
  551. (add g capacity 3)
  552. (add s capacity 8)
  553. (add t capacity 16)
  554. (add h capacity 2)
  555. (add C capacity 33)
  556. (add z capacity 16)
  557. (add / capacity 100)
  558. (add W capacity 16)
  559. (add cities capacity 1000)
  560.  
  561. (table mp-to-enter-unit 
  562.   (f u* 9)
  563.   (b u* 6)
  564.   (d u* 5)
  565.   (z u* 12)
  566.   (X u* 8)
  567.   (h u* 4)
  568. )
  569.  
  570. (add (f b d z X h) free-mp (9 6 5 12 8 4))
  571.  
  572. ;;; Unit-terrain capacities.
  573.  
  574. ;; Limit units to 4 in one cell.
  575. ;;  Places cover the entire cell, however.
  576.   
  577. (table unit-size-in-terrain
  578.   (movers t* 4)
  579.   (X t* 12)
  580.   (places t* 16)
  581. )
  582. (add t* capacity 16)
  583.  
  584. ; aircrafts can always overfly places
  585. (table terrain-capacity-x 
  586.   (u* t* 0)
  587.   (aircraft cell-t* 2)
  588.   (X t* 0)
  589. )
  590.  
  591.  
  592. ;SIGHT AREA
  593.  
  594. (add d vision-range 2)    ; was 1
  595. (add C vision-range 2)
  596. (add & vision-range 4)
  597. (add U vision-range 6)
  598. (add X vision-range 8)
  599. (add F vision-range 10)
  600.  
  601. ;COMBAT
  602. ; Note that the battledroid does not recognize the phalanx as being armed
  603. ; and will refuse to attack it.  Other than that things are fairly staight
  604. ; forward.  I based these numbers on my recolections of history, where such
  605. ; recollections were available.  (ie. Italians in Ethiopia, Brits vs Zulus,
  606. ; etc. for i vs x)  For how TraXors fare against armor, I used the best
  607. ; available sources.
  608.  
  609. (table damage
  610.   (u* u* 1)
  611.   (aircraft ship 2)
  612.   (aircraft places 2)
  613.   (b u* 100)
  614.   (b aircraft 1)
  615.   (b X 100)
  616.   (y i 2)
  617.   (y (A M) 3)
  618.   (B u* 2)
  619.   ((z X F) u* 99)    ; who knows how they do it...
  620.   (z (q F X) (2 2 8))
  621.   (q u* 3)
  622.   (X (F X) 5)
  623.   (F (F X) 5)
  624.   (q places 0)
  625. )
  626.  
  627. ;                   W / A M N * @ & U  F
  628. (add places hp-max (2 5 4 5 6 7 8 9 10 11))
  629. ;                   x  g  k  l  s  c  y  i  d  B  t  C  f  a  h  b  z  q  X
  630. (add movers hp-max (1  1  1  1  2  2  2  2  1  8  2  4  1  3  1  1  1  4 24))
  631.  
  632.  
  633. (table hit-chance
  634. ; ------------------------- movers vs. movers -------------------------
  635. ;             x  g  k  l  s  c  y  i  d  B  t  C  f  a  h  b  z  q  X
  636.   (x movers (40 10 50 20 10 10 05 15  0  0  0  0  0  1  0  0  0  5  0))
  637.   (g movers (10 40 10 05 20  0  0  0  0  0  0  0  0  0  0  0  0  0  0))
  638.   (k movers (60 20 40 20 15 20 05 15  0  0  0  0  0  1  0  0  0  0  0))
  639.   (l movers (80 40 80 40 30 30 20 20  4  0  0  0  0  1  0  0  0  0  0))
  640.   (s movers (12 40 10 07 40  5 15  5  0  0  5  0  0  0  0  0  0  0  0))
  641.   (c movers (60 40 60 60 35 40 80 20 15  0  0  0  1  2  1  0  0  0  0))
  642.   (y movers (90 90 90 80 60 20 40 80  8 15 25 10  0 25  0  0  0  0  0))
  643.   (i movers (80 70 80 70 35 80 20 40 25  5  5  5  5 20 20 20  3  0  3))
  644.   (d movers (60 60 60 60 40 30 30 30 20 40 40 40  5 15  5  1  1  0  1))
  645.   (B movers (90 90 90 90 90 60 60 40 30 40 80 80 20 30 25 20  5  3  5))
  646.   (t movers (15 15 15 15 15  5  5  5 30  5 15  5 20  3 20 10  2  0  2))
  647.   (C movers ( 0 15  0  0 15  0  0  0 99 10  0  0 40  0 30 30 10  0  1))
  648.   (f movers (90 90 90 90 90 50 50 50 99 80 80 60 30 40 90 90 40  3 60))
  649.   (a movers (99 80 99 99 80 70 70 70 40 20 20 20 30 40 30 40 12  5 20))
  650.   (h movers (99 90 99 99 90 99 99 90 80 10 30 10 10 70 20 10 05  5 05))
  651.   (b movers (99 99 99 99 99 99 99 99 99 99 99 99 20 99 99 10 40 10 80))
  652.   (z movers (99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 49 60 99))
  653.   (q movers ( 0 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 40 50 80))
  654.   (X movers (99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 25 70 90))
  655. ; ------------------------- places vs. movers -------------------------
  656. ;             x  g  k  l  s  c  y  i  d  B  t  C  f  a  h  b  z  q  X
  657.   (W movers (50 50 60 40 10 10 05 10  0  0  0  0  0  0  0  0  0  0  0))
  658.   (/ movers (80 70 80 70 35 80 25 35 30  5  5  5 15 20 20 20  3  0  3))
  659.   (A movers (50 50 40 40 10 10 05 10  0  0  0  0  0  0  0  0  0  0  0))
  660.   (M movers (80 40 40 40 20 20 05 12  2  0  0  0  0  0  0  0  0  0  0))
  661.   (N movers (80 60 60 50 30 30 30 30 30 10 10  5  5  5  0  0  0  0  0))
  662.   (* movers (90 70 70 70 60 50 35 50 40 20 20 10 15 20  5  0  0  0  0))
  663.   (@ movers (95 80 80 80 70 60 40 60 40 25 25 20 20 25 15 10  0  0  0))
  664.   (& movers (95 90 90 90 90 70 45 70 50 30 30 25 25 40 25 20  5  0 10))
  665.   (U movers (99 99 99 99 99 90 80 80 60 50 50 50 60 60 60 60 40  0 40))
  666.   (F movers (99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 70 45 30))
  667. ; ------------------------- movers vs. places -------------------------
  668. ;              W   /   A   M   N   *   @   &   U   F
  669.   (x places ( 30   5  50  30  10   4   1   1   0   0))
  670.   (k places ( 30  15  70  50  20   5   3   2   1   0))
  671.   (l places ( 40  10  50  50  20   6   5   4   2   0))
  672.   (c places ( 40  20  50  50  40  30  20  10   5   0))
  673.   (y places ( 60  40  90  90  70  60  50  20   5   0))
  674.   (i places ( 40  30  70  60  50  50  40  30  10   0))
  675.   (B places ( 99  99  99  99  90  90  90  60  10   0))
  676.   (f places ( 99  60  99  99  90  90  60  50  15   0))
  677.   (a places ( 50  90  99  95  95  90  80  80  30   0))
  678.   (h places ( 40  20  20  20  20  20  20  20  20   0))
  679.   (b places ( 99  99  99  99  99  99  99  99  40  01))
  680.   (z places ( 99  99  99  95  90  80  60  50  30  30))
  681.   (q places 100)
  682.   (X places (100 100 100 100 100 100 100 100 100  70))
  683.   (F places (100 100 100 100 100 100 100 100 100  30))
  684. )
  685. (table capture-chance
  686. ;             W  /  A  M  N  *  @  &  U  F
  687.   (x places (40  5 50 20 20 10  5  5  0  0))
  688.   (k places (50 15 70 50 30 12 10 10  1  0))
  689.   (l places (20 10 20 20 20 10 10 10  0  0))
  690.   (c places (80 30 90 60 40 30 30 20 10  0))
  691.   (i places (90 70 90 70 70 70 60 60 20  0))
  692.   (a places (99 90 99 95 95 90 80 80 30  0))
  693.   (h places (20 20 20 20 20 20 20 20 20  0))
  694.   (q places (99 99 99 95 95 90 90 90 50 30))
  695. )
  696. (table independent-capture-chance
  697. ;             W  /  A  M  N  *  @  &  U  F
  698.   (x places (65 15 75 30 22 15  9  7  2  0))
  699.   (k places (75 40 90 75 50 30 20 14  3  0))
  700.   (l places (45 30 45 45 40 25 15 10  2  0))
  701.   (c places (90 55 95 80 60 50 40 30 15  1))
  702.   (i places (99 85 99 95 90 90 80 70 30  5))
  703.   (a places (99 99 99 99 99 95 90 85 50 10))
  704.   (h places (30 30 30 30 30 30 30 30 30  1))
  705.   (q places (99 99 99 99 99 98 98 98 75 50))
  706. )
  707. ;****************************************************
  708.  
  709. (table protection add (places movers 50))
  710. (table consumption-per-attack add ((c y i B t C f a h) ammo 1))
  711. (table hit-by add (u* (ammo bombs) 1))
  712. (table consumption-per-attack add (b bombs 1))
  713.  
  714. ;OTHER STUFF
  715.  
  716. (add u* acp-to-change-side 1)    ; equipment is indifferent to its fate
  717. (add (x k l c i) acp-to-change-side 0)    ; but armies have some loyalty
  718.  
  719. ;FIXME true u* neutral
  720.  
  721. ; disband takes one turn
  722. (add movers hp-per-disband 100)
  723. ;                           x g k l s c y i d B t C f a h b  z q X
  724. (add movers acp-to-disband (2 3 2 2 3 3 1 2 5 5 5 5 9 4 4 6 12 8 9))
  725.  
  726. (add u* spy-chance 0)
  727. (table spy-quality (u* u* 10))    ; a higher spy-quality is too big an advantage
  728.  
  729. ;;; Scoring.
  730.  
  731. (scorekeeper
  732.   (title "")
  733.   (do last-side-wins)
  734.   )
  735.  
  736. ;;; Text.
  737.  
  738. (set action-notices '(
  739.   ((destroy u* ground) (actor " defeats " actee "!"))
  740.   ((destroy u* aircraft) (actor " shoots down " actee "!"))
  741.   ((destroy u* ship) (actor " sinks " actee "!"))
  742.   ((destroy u* cities) (actor " flattens " actee "!"))
  743.   ((destroy u* q) (actor " terminates " actee "!"))
  744.   ((destroy u* X) (actor " liquidifies " actee "!"))
  745.   ))
  746.  
  747. (set event-notices '(
  748.   ((unit-starved ground) (0 "runs out of fuel and disbands"))
  749.   ((unit-starved aircraft) (0 "runs out of fuel and crashes"))
  750.   ((unit-starved u*) (0 "runs out of supplies and is sucked into a wormhole"))
  751.   ))
  752.  
  753. (set event-narratives '(
  754.   ((unit-starved ground) (0 "ran out of fuel and disbanded"))
  755.   ((unit-starved aircraft) (0 "ran out of fuel and crashed"))
  756.   ((unit-starved u*) (0 "ran out of supplies and was sucked into a wormhole"))
  757.   ))
  758.  
  759. (set advantage-min 1)
  760. (set advantage-default 1)
  761. (set advantage-max 5)
  762.  
  763.  
  764. ; This is a totally arbitrary list.  I'd be happy to add your favorite
  765. ; linguistic group, tribe or dead civilization if you send me email
  766. ; at <al172@yfn.ysu.edu>.
  767. (set side-library '(
  768.   ((noun "Abyssinian") (name "Abyssinia"))
  769.   ((noun "Aryan"))
  770.   ((noun "Ashanti"))
  771.   ((noun "Assyrian") (name "Assyria"))
  772.   ((noun "Aztec"))
  773.   ((noun "Carthaginian") (name "Carthago"))
  774.   ((noun "Celt"))
  775.   ((noun "Dravidian"))
  776.   ((noun "Etruscan"))
  777.   ((noun "Gaul"))
  778.   ((noun "Hittite"))
  779.   ((noun "Hun"))
  780.   ((noun "Inca") (adjective "Incan"))
  781.   ((noun "Iroquois"))
  782.   ((noun "Khmer"))
  783.   ((noun "Manchu"))
  784.   ((noun "Maya") (adjective "Mayan"))
  785.   ((noun "Minoan"))
  786.   ((noun "Mongol"))
  787.   ((noun "Mycenaean") (name "Mycenae"))
  788.   ((noun "Parthian"))
  789.   ((noun "Phoenician"))
  790.   ((noun "Saxon"))
  791.   ((noun "Semite"))
  792.   ((noun "Spartan") (name "Sparta"))
  793.   ((noun "Sumer"))
  794.   ((noun "Viking"))
  795.   ((noun "Visigoth"))
  796.   ((noun "Zulu"))
  797. ))
  798.  
  799. ; Henry Ware's cities.nmz                     Last modified 25 January 1994
  800. ; I wrote these because I didn't like the collection of small US towns in
  801. ; the default names.  They are an eclectic collection of place-names, weird
  802. ; allusions & random thoughts.  If you like, you can think of it as my
  803. ; Finnegan's Wake.  ;^) I'm sure even the misspellings have Freudian (&
  804. ; Jungian!)  connotations.  It must still be considered a work in progress.
  805. ; Its been run through a Unix 'sort -df', of course (Joyce was _so_ 19th
  806. ; century :^))
  807.  
  808. (namer unit-names (random
  809. "Abelarde" "Abidjan" "Abruzzi" "Abuja" "Abzu" 
  810. "Acropolis" "Adis Abbaba" "Adonis" "Aeneid" 
  811. "Agamemnon" "Agrabah" "Aiko Aiko" "Albion" 
  812. "Alexandria"  "Allacante" "Allegory" "Alliteration" 
  813. "Alma Ata" "Altamoro" "Althea" "Amsterdam" 
  814. "Anakara"  "Ancorage" "Angst" "Antietam" 
  815. "Antigone" "Appomattox" "Aramis" "Archangel" 
  816. "Arimathea" "Armageddon" "Artos" "Asmera" 
  817. "Asterlitz" "Aswan" "Athenry" "Athens" 
  818. "Atlantis" "Austin" "Avalon" "Avignon" 
  819.  
  820. "Babylon" "Baghdad" "Baku"  "Ballymote" 
  821. "Baltimore" "Bangalore" "Bangkok" "Bangore" 
  822. "Barbizon" "Bartok" "Bauhaus" "Beijing" 
  823. "Belfast"  "Belfry" "Belograd" "Berlin" "Beruit" 
  824. "Bethlehem" "Bexley"  "Biafra" "Bimini" 
  825. "Blackfriar" "Bogota"  "Bombay"  "Bonn" 
  826. "Bordeaux" "Borodino" "Boston"  "Boulder" 
  827. "Bowery" "Brandenberg" "Brighton Beach" "Brooklyn" 
  828. "Budapest"  "Buenos Aires"  "Buffalo" "Burgandy" 
  829. "Bushido" "Bytor" "Byzantium" 
  830.  
  831. "Caer Asseyra"  "Cairo" "Calcutta" "Calgary" 
  832. "Caliban" "Caligula" "Cambridge" "Camden" 
  833. "Camelot" "Campo Formio" "Canterbury"  "Cape May" 
  834. "Caracas"  "Carranza" "Casablanca" "Casanova" 
  835. "Cashel" "Cassius" "Cayenne"  "Chartes" 
  836. "Chicago"  "China Grove" "Chinatown" "Chronicles" 
  837. "Cicero" "Cincinnati"  "Claudius" "Clausewitz" 
  838. "Clemenceau" "Cleveland"  "Cognac"  "Coleridge" 
  839. "Cologne" "Columbus"  "Commodus" "Concepcion" 
  840. "Concord" "Conquistador" "Constantinople" 
  841. "Copenhagen" "Cordoba" "Corinth" "Cork" 
  842. "Cornucopia" "Corrina" "Corsair" "Crayola" 
  843. "Cuzco" 
  844.  
  845. "Daedalus" "Dakar" "Dallas"  "Dar es Salaan" 
  846. "Dark Hollow" "Dasharastria" "Datona"  "De Valera" 
  847. "Decameron" "Delphi" "Demosthenes" "Denver" 
  848. "Des Moins"  "Detroit" "Dharma" "Diamonds" 
  849. "Dijon" "Djibouti"  "Dodge"  "Dol Amroth" 
  850. "Dominican" "Dominion" "Dresden" "Dublin" 
  851. "Duluth" 
  852.  
  853. "East Orange" "Eclipse"  "Edo" "El Norte" 
  854. "El Paso" "Ellis Island" "Elysium" "Empire" 
  855. "Endor" "Enquiry" "Entebe" "Enterprise" "Ermine" 
  856.  
  857. "Fenario" "Firenze" "Florence" "Fort Fenian" 
  858. "Fort Sumter" "Fort William Henry" 
  859.  
  860. "Gadalajara" "Galahad" "Galapogos" "Ganelon" 
  861. "Geneva" "Genoa" "Gettysburg" "Gibbon" 
  862. "Gibraltar" "God's Crucible" "Gomorrah" "Gonzaga" 
  863. "Gorky" "Gotham City" "Greenville" "Greenwich" 
  864. "Gremlin" "Guadalcanal" "Guantanamo" "Guido's Razor" 
  865.  
  866. "Hackensack" 
  867. "Hades" "Haiku" "Hajar-al-Aswad" "Halifax" 
  868. "Hamburg" "Hammurabi" "Hanibal" "Hanoi" 
  869. "Harbour Springs" "Harlem" "Hassan-i-Sabbah" 
  870. "Hastings" "Hathaway" "Havana" "Havelock" 
  871. "Heidelburg" "Hel" "Heloise" "Herraclitus" 
  872. "Hiaku" "Hiawatha" "Hiroshima" "Hoboken" 
  873. "Hong Kong" "Houston" "Huron" "Hyde Park" 
  874. "Hyperborea" "Hyperion" 
  875.  
  876. "Icarus" "Ille de Batz" "Inverness" "Istanbul" 
  877. "Izmir" 
  878.  
  879. "Jagannath" "Jakarta" "Java" "Jericho" 
  880. "Johannasburg" "Juneau" "Jutland" 
  881.  
  882. "Kabuki" "Kabul" "Kalamazoo" "Kali" 
  883. "Kaluha Kona" "Kankakee" "Kanpur" "Karma" 
  884. "Katharsis" "Katmando" "Kenosha" "Kiel" "Kiev" 
  885. "Kingston" "Kinshasa" "Kirkuk" "Konigsberg" 
  886. "Kourian" "Kyoto" "Kyushu" 
  887.  
  888. "La Paz" "Labarynth" "Lagos" "Lakewood" 
  889. "Lancaster" "Laurasia" "Left Field" "Leibnitz" 
  890. "Leinster" "Lemberg" "Leningrad" "Lexington" 
  891. "Lhasa" "Liffey" "Lille" "Lima" "Limbo" 
  892. "Limerick" "Lisbon" "Lithopolis" "Little Big Horn" 
  893. "Logos" "London" "Lorient" "Los Angeles" 
  894. "Lusitania" "L'vov" "Lye" "Lyon" 
  895.  
  896. "Macao" "Machiavelli" "Machinaw" "Madrid" 
  897. "Managua" "Manchester" "Mandarin" "Mandrake" 
  898. "Manila"  "Mannheim" "Marengo" "Marne" 
  899. "Marrachesh" "Marseilles" "Maximillian" "Medellin" 
  900. "Merrimac" "Miami" "Milan" "Milwaukee" 
  901. "Minerva Park" "Minglewood" "Minsk" "Mogadishu" 
  902. "Monitor" "Monrovia" "Mont Saint Michel" 
  903. "Monte Cristo" "Monte Video" "Montreal" "Moscow" 
  904. "Munich"  "Murmansk" "Mythos" 
  905.  
  906. "Nagasaki" "Nagoya" "Nairobi" "Nantes" "Naples" 
  907. "Napoleon" "Naraka" "New Aesop" "New Atlantis" 
  908. "New Haven" "New York" "Newark" "Newcastle" 
  909. "Nicea" "Nirvanna" "Norfolk"  "Norwich" "Nyack" 
  910.  
  911. "Obetz" "Occam's Razor" "Odessa" "Omar Khayyam" 
  912. "Oracle" "Orth" "Oslo" 
  913.  
  914. "Palermo" "Palo Alto" "Pamplona" "Pangaea" 
  915. "Paradox" "Paris" "Pataskala" "Pathos" 
  916. "Pendragon" "Petovsky" "Phaedra" "Pheonix Park" 
  917. "Picadilly" "Pindar Point" "Pisa" "Pittsburgh" 
  918. "Plattsburgh" "Pomona" "Port au Prince" 
  919. "Port Manteau" "Port Nemo" "Porthos" "Porto Alegre" 
  920. "Prauge" "Pretoria" "Princeps" "Pueblo" 
  921. "Purgatory" 
  922.  
  923. "Quebec" "Quito" 
  924.  
  925. "Rakshasa" "Rangoon" "Rennes" "Rio de Janeiro" 
  926. "Riverrun" "Riyadh" "Roger's Losing" "Roland" 
  927. "Rome" "Roscoff" 
  928.  
  929. "Sacramento" "Saginaw" "Saigon" "Saint Malo" 
  930. "Saint Petersburg" "Saki" "Salamanca" "Salem" 
  931. "Salt Lake" "Sampan" "San Antionio" "San Fransico" 
  932. "San Juan" "Sanctuary" "Sandusky" "Sangria" 
  933. "Sanity" "Sans Serif" "Santa Cruz" "Santa Fe" 
  934. "Santiago" "Santo Domingo" "Sao Paulo" "Saragosa" 
  935. "Saratoga" "Sarjevo" "Saskatoon" "Sault Ste. Marie" 
  936. "Savannah" "Saxophone" "Seppuku" "Serendipity" 
  937. "Sevastopol" "Shadowfax" "Shanghai" "Shangri-La" 
  938. "Sherwood" "Shiloh" "Sidney" "Sienna" 
  939. "Singapore" "Skagway" "Smyrna" "Sparta" 
  940. "Stalingrad" "Steppenburgh" "Sterling" "Stockhom" 
  941. "Suez" "Summit" "Sun Zoo" "Sunzi Bingfa" 
  942. "Superior" "Syracuse" 
  943.  
  944. "Tabriz" "T'aipei" "Tannenberg" "Tashkent" 
  945. "Tbilisi" "Tehran" "Tel Al-Aviv" "Tequila" 
  946. "The Aesir" "The Brewery" "The Bronx" "The Hague" 
  947. "The Sprawl" "The Vatican" "Thrace" "Thunder Bay" 
  948. "Tiblisi" "Timbuktoo"  "Tippecanoe" "Tokyo" 
  949. "Toledo" "Toronto" "Trafalgar" "Transvaal" 
  950. "Trantor" "Trenton" "Trieste" "Trouble" "Troy" 
  951. "Tupelo" "Tupper Lake" "Tuzla" 
  952.  
  953. "Ulan Batar" "Ulysses" "Uno" 
  954.  
  955. "Valencia" "Vancover" "Venice" "Verdi" "Verdun" 
  956. "Versailles" "Vichy" "Vicksburg" "Vienna" 
  957. "Vladivostok" 
  958.  
  959. "Walhalla" "Wapakoneta" "Ware Shoals"  "Warsaw" 
  960. "Washington" "Waterloo" "Wellington" "Westport" 
  961. "Wheeling" "Winnipeg" "Wonsan" "Woodstock" 
  962. "Worms" 
  963.  
  964. "Xax" 
  965.  
  966. "Yazoo" "Yonkers" "Yorktown" "Ypres" 
  967.  
  968. "Zagreb" "Zenda" "Zhivago" "Zinfandel" "Zymurgy" 
  969. ))
  970. (add cities namer "unit-names")
  971.  
  972. (game-module (notes (
  973.   "The basic idea here is that each city represents an era.  Each era has its"
  974.   "own set of units & is, in effect, a miniperiod. One of your original cities"
  975.   "should build the more modern city & the others should build units for"
  976.   "expansion & conquest.  After the new city is completed, your older cities"
  977.   "should be upgraded & the research city should continue researching.  Any"
  978.   "neutral cities you capture will catch up to your current production level"
  979.   "in a reasonable period of time."
  980.   ""
  981.   "When your country is larger, you should consider adding one or two"
  982.   "additional research cities as a backup so you aren't excessively set back"
  983.   "if you primary research center is captured or destroyed."
  984.   ""
  985.   "Generally more modern things have a significant advantage over older"
  986.   "things, but even very old units can do sentry duty."
  987.   ""
  988.   "Any given unit represents a wide range of actual technologies.  For"
  989.   "example, infantry is every thing from muzzle loading guns to weapons with"
  990.   "50 times the range and exploding (heat seeking?) bullets."
  991.   ""
  992.   "Most of the subperiods have a trick in themselves.  For example, the"
  993.   "Napoleonic era is set up with an i>c>y>i, 'paper-scissors-rock', dynamic."
  994.   "That it is part of a larger period affects the balance: while cavalry might"
  995.   "have an immediate advantage due to its speed, they become outdated more"
  996.   "rapidly than the other two units."
  997.   ""
  998.   "With that said, I should also say that the play balance is not perfect.  It"
  999.   "is still, to a certain extent, a novelty period; but I think it is"
  1000.   "reasonably successful on that level."
  1001.   ""
  1002.   "There should be more notes, but this period needs a book :^)"
  1003.   ""
  1004.   "Let me recast:  there are no notes because, in simulation of real life,"
  1005.   "the interplay of future events is unclear until you experience them..."
  1006.  )))
  1007.  
  1008. (game-module (design-notes
  1009.   "   **** TIME: COMBAT THRU THE AGES ****"
  1010.   ""
  1011.   "Version 1.0.  This is part of the Ohio Xconq Suite, version 1.0."
  1012.   "This was written by Henry Ware.  Victor Mascari helped."
  1013.   "Massimo Campostrini helped with beta testing."
  1014.   "Thanks also to Jay Scott of the Future Period, to the author of the Greek"
  1015.   "Period and to whoever wrote the Napoleonic Period; this period owes alot"
  1016.   "to those works."
  1017.   ""
  1018.   "I *do* like this period, but its not as sound or as neat from a game-"
  1019.   "theory standpoint as Nukem, WW1 or the Standard period.  To say nothing of"
  1020.   "Galaxy, which is my personal favorite."
  1021.   ""
  1022.   "If you think it is complicated now, just wait!  I am adding nomad, Roman,"
  1023.   "nanotech, pirate, Ancient Egypt/Inca and cyber eras!  (Just kidding.  Really."
  1024.   "There is no room for more units anyway. :^)  The only thing I might do is"
  1025.   "reintroduce the robowarrior."
  1026.   ""
  1027.   "This period is way too complicated & way too slow.   (It may be Baroque,"
  1028.   "but I am not going to fix it)."
  1029.   ""
  1030.   "Gratuitous Sun Tzu quote:"
  1031.   "\"Which general has the ability?\""
  1032.   ""
  1033.   "Copywrite 1990, 1991, 1993, 1994 by Henry Ware."
  1034.   "My work on this period is distributed under the GNU general public license."
  1035.   "There are a few lines authored by Stan Shebs, and may be protected by"
  1036.   "his copywrite also."
  1037.   ""
  1038.   "Converted to xconq 7 with minor modifications" 
  1039.   "by Massimo Campostrini <campo@mailbox.difi.unipi.it>."
  1040. ))
  1041.